package projetbi_extraction;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import tools.DocxListCreator;

/**
 * Projet BI - M2 FIC 2012-2013
 *
 * @author Jef, Tuan-Long, William, Mohamed
 */
public class ProjetBI_Extraction {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) 
            throws IOException, FileNotFoundException, InterruptedException {
        String current = new java.io.File(".").getCanonicalPath();
        DocxListCreator dlc = new DocxListCreator();
        BrowseThroughFiles btf = new BrowseThroughFiles();
        
        List<String> listDocx = new ArrayList<String>();

        // Essai de parcours du dossier courant
        String sourcePath = new String(current);
        sourcePath += "\\sources";
        /*
        listDocx = dlc.createDocxList(sourcePath);
        
        if (listDocx != null) {
            Iterator<String> its = listDocx.iterator();
            while (its.hasNext()) {
                String stringTmp = its.next();
                System.out.println(stringTmp);
            }
        }
        * */
        btf.BrowseThroughFiles(new File(sourcePath));
    }

    
}
